import itertools

count = 0
""" 10,12,14,16,18,... """
for i in itertools.count(10, 2):
    print(f"i: {i}")
    count += 1
    if count > 10:
        break

count = 0
""" 1.0,1.5,2.0,2.5,3.0,... """
for x in itertools.count(1.0, 0.5):
    print(f"x: {x}")
    count += 1
    if count > 10:
        break